package com.example.juc;

import java.util.concurrent.atomic.LongAdder;

/**
 * @Description
 * @Date 2021/7/24
 * @Created by Jonathan
 */
public class LongAddrDemo {

    public static void main(String[] args) {
        LongAddrDemo longAddrDemo = new LongAddrDemo();
        longAddrDemo.add_LongAdder();
    }

    public void add_LongAdder() {
        LongAdder longAdder = new LongAdder();
        longAdder.increment();
        //longAdder.sum();
    }
}
